runtime.gcControllerState.globalsScan (field)
9 uses
runtime (current package)
metrics.go#L687: a.globalsScan = gcController.globalsScan.Load()
mgc.go#L1169: gcController.globalsScan.Load()>>20, " MB globals, ",
mgcpacer.go#L227: globalsScan atomic.Uint64
mgcpacer.go#L507: scanWorkExpected := int64(c.lastHeapScan + c.lastStackScan.Load() + c.globalsScan.Load())
mgcpacer.go#L514: maxScanWork := int64(scan + maxStackScan + c.globalsScan.Load())
mgcpacer.go#L678: print(c.heapScanWork.Load(), "+", c.stackScanWork.Load(), "+", c.globalsScanWork.Load(), " B work (", c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load(), " B exp.) ")
mgcpacer.go#L890: c.globalsScan.Add(amount)
mgcpacer.go#L1204: gcPercentHeapGoal = c.heapMarked + (c.heapMarked+c.lastStackScan.Load()+c.globalsScan.Load())*uint64(gcPercent)/100
mgcpacer.go#L1236: c.runway.Store(uint64((c.consMark * (1 - gcGoalUtilization) / (gcGoalUtilization)) * float64(c.lastHeapScan+c.lastStackScan.Load()+c.globalsScan.Load())))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |